package com.example.controller;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.entity.ClassifiedNavigation;
import com.example.entity.Classify;
import com.example.entity.ListOfGoods;
import com.example.service.IClassifiedNavigationService;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jobob
 * @since 2024-09-05
 */
@RestController
@RequestMapping("/uni-app/classified-navigation")
public class ClassifiedNavigationController {

    @Resource
    IClassifiedNavigationService classifiedNavigationService;


    @RequestMapping("/list")
    public List<ClassifiedNavigation> navigation(){
        return classifiedNavigationService.list();
    }
}
